package com.company.project.search.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.company.project.search.engine.Engine;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;

@Data
@TableName("hot_search")
public class HotSearch {



    public HotSearch() {

    }

    @Id
    private String id;

    private int count;

    private String name;



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
